package com.smart.manager.system.entities.models;

import com.smart.common.entities.core.BaseLongModel;
import com.smart.manager.system.entities.enums.InstallState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;

/**
 * 系统管理-模块信息表
 * @author Administrator
 * @TableName system_module
 */
@EqualsAndHashCode(callSuper = true)
@Entity @Data
public class SystemModule extends BaseLongModel {

    @ApiModelProperty("模块代码")
    private String code;

    @ApiModelProperty("模块名称")
    private String name;


    @ApiModelProperty("模块所属包")
    private String pkgName;


    @ApiModelProperty("模块描述")
    private String description;


    @ApiModelProperty("发布版本号")
    private String releaseVersion;

    @ApiModelProperty("显示排序")
    private Integer sort;

    @ApiModelProperty("是否存在前端页面")
    private Boolean hasWeb;

    @ApiModelProperty("模块图标")
    private String icon;

    @ApiModelProperty("安装状态 枚举类型")
    private InstallState state;


}
